Generating Diverse Solutions in SAT: Paper Addendum

نویسنده

  • Alexander Nadel
چکیده

This document is an addendum to [1]. We complement Section 4 of [1] in two ways. First, a detailed analysis of the randomized algorithms is provided. Second, an explanation of the behavior of the quality functions of pguide and pbcpguide 100 is proposed. The reader should be familiar with the content of [1] up to and including Section 4. 1 Analyzing Randomized Algorithms This section complements the analysis presented in Section 4 of [1] by analyzing the behavior of three randomized algorithms and comparing them to prand. dpll-based sampling invokes the SAT solver k times to generate k models for the same input formula. The first assignment to a variable is random for each invocation of the SAT solver. dpll-based sampling was mentioned in [2], but we did not find any reference to work introducing it. xor-sample [3] invokes the SAT solver at least k times to generate k models. For each invocation, the initial formula is augmented with random XOR constraints, where an XOR constraint includes variables and, optionally, the constant 1. Adding an XOR constraint means enforcing that an odd number of elements in the constraint are satisfied. In the original definition, a variable is added to the XOR constraint with probability q and 1 is added with probability 1/2. One can also use XOR sampling, where the length and number of XOR constraints are predefined. prandweak [4] (AllSAT-Sampling in [4]) is a compact DiversekSet algorithm. It randomizes the polarity of a new decision variable only when a variable is selected for the first time or for the first time after a model. Let us analyze the behavior of the randomized algorithms for DiversekSet, including prand, on our instances. Table 1 summarizes their behavior for a selected number of models and Fig. 1 presents their behavior as a function of the number of models. In our experiments, we used 4 versions of xor-sample, each one generating either 100 or 10 XOR constraints of length of 100 or 10. We generated the XOR constraints and translated them to clauses using the utilities of [3]. Note that additional variables must be introduced to translate XOR constraints to clauses. Compare the summary of the behavior of xor-sample with that Table 1: Mean quality and mean run-time for randomized DiversekSet algorithms, given 100, 50 and 10 models on 66 benchmarks from semiformal verification of hardware. The algorithms are sorted by the quality obtained when generating 100 models. 100 50 10 Algorithm Quality Time Quality Time Quality Time prand 0.1923 225 0.1915 206 0.1903 186 dpll-based sampling 0.1608 3988 0.1609 1992 0.1617 402 xor-sample-100-100 0.1487 5067 0.1485 2559 0.1482 520 xor-sample-100-10 0.1376 6855 0.1373 3430 0.1371 651 xor-sample-10-100 0.1056 4117 0.1052 2059 0.1062 424 prandweak 0.09991 76 0.09405 55 0.08332 39 xor-sample-10-10 0.08896 4126 0.08894 2076 0.08976 424

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Generating Diverse Solutions in SAT

This paper considers the DiversekSet problem in SAT, that is, the problem of efficiently generating a number of diverse solutions (satisfying assignments) given a propositional formula. We provide an extensive analysis of existing algorithms for this problem in a newly developed framework and propose new algorithms. While existing algorithms adapt modern SAT solvers to solve DiversekSet by chan...

متن کامل

Generating 'Random' 3-SAT Instances with Specific Solution Space Structure

Generating good benchmarks is important for the evaluation and improvement of any algorithm for NP-hard problems such as the Boolean satisfiability (SAT) problem. Carefully designed benchmarks are also helpful in the study of the nature of NP-completeness . Probably the most well-known and successful story is the discovery of the phase transition phenomenon (Cheeseman, Kanefsky, and Taylor 1991...

متن کامل

Minimal Model Generation with respect to an Atom Set

This paper studies minimal model generation for SAT instances. In this study, we minimize models with respect to an atom set, and not to the whole atom set. In order to enumerate minimal models, we use an arbitrary SAT solver as a subroutine which returns models of satisfiable SAT instances. In this way, we benefit from the year-byyear progress of efficient SAT solvers for generating minimal mo...

متن کامل

A Case for Efficient Solution Enumeration

SAT solvers have been ranked primarily by the time they take to find a solution or show that none exists. And indeed, for many problems that are reduced to SAT, finding a single solution is what matters. As a result, much less attention has been paid to the problem of efficiently generating all solutions. This paper explains why such functionality is useful. We outline an approach to automatic ...

متن کامل

An Evolutionary Framework for 3-SAT Problems

In this paper we present a new evolutionary framework for 3-SAT. This method can be divided into three stages, where each stage is an evolutionary algorithm. The first stage improves the quality of the initial population. The second stage improves the speed of the algorithm periodically generating new solutions. The 3rd stage is a hybrid evolutionary algorithm, which improves the solutions with...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011